<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.2/css/bootstrap.min.css">
</head>
<body>
<!--enctype：规定了form表单在发送到服务器时候编码方式，它有如下三个值。-->
<form action="upLoad" method="post" enctype="multipart/form-data">
    <div class="mb-3">
        <label for="formFileMultiple" class="form-label">多个上传文件</label>
        <input class="form-control" type="file" id="formFileMultiple" multiple name="files">
        <button type="submit" class="btn btn-primary">提交</button>
        <p th:text="${msg}"></p>
    </div>
</form>
</body>
</html>